<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
    <title><?php echo ($menu_title); ?>-<?php echo (C("SITE_NAME")); ?></title>


    <meta name="description" content="overview &amp; stats" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=9;IE=8;IE=7;" />
    <meta http-equiv="X-UA-Compatible" content="edge" />
    <link rel="icon" href="/favicon.ico" type="image/x-icon" />
    <!-- 框架样式 -->

    <link href="/Statics/Admin/css/bootstrap.min.css" rel="stylesheet" />

    <link href="/Statics/Admin/css/buttons.css" rel="stylesheet" />
    <link rel="stylesheet" href="/Statics/Admin/css/font-awesome.min.css" />
    <link rel="stylesheet" href="/Statics/Admin/js/chosen/chosen.css" />
    <!--[if IE 7]>
    <link rel="stylesheet" href="/Statics/Admin/css/font-awesome-ie7.min.css" />
    <![endif]-->

    <!-- 独立样式 -->
    

    <!-- 基础css -->

    <link rel="stylesheet" href="/Statics/Admin/css/ace.min.css" />
    <link rel="stylesheet" href="/Statics/Admin/css/plus.css" />

    <!--<link rel="stylesheet" href="/Statics/Admin/css/ace-rtl.min.css" />
    <link rel="stylesheet" href="/Statics/Admin/css/ace-skins.min.css" />-->

    <script type="text/javascript">
        //全局变量
        var GV = {
            DIMAUB: "/",
            JS_ROOT: "/Statics/Admin/js/"
        };
    </script>

    <!-- 基础脚本 -->



    <script src="/Statics/Admin/js/jquery.js"></script>

    <script src="/Statics/Admin/js/ace-extra.min.js"></script>
    <script src="/Statics/Admin/js/ace-elements.min.js"></script>

    <script src="/Statics/Admin/js/ace.min.js"></script>
    <script src="/Statics/Admin/js/bootstrap.min.js"></script>
    <script src="/Statics/Admin/js/sco/js/sco.modal.js"></script>
    <script src="/Statics/Admin/js/sco/js/sco.message.js"></script>
    <script src="/Statics/Admin/js/common.js"></script>
    <script src="/Statics/Admin/js/wind.js"></script>

    <script src="/Statics/Admin/js/chosen/chosen.jquery.min.js"></script>
    <!-- 脚本插件 -->
     
 <script type="text/javascript">
Wind.css('zTree');

var setting = {
    data: {
        key: {
            name: "name"
        },
        simpleData: {
            enable: true,
            idKey: "id",
            pIdKey: "parentid",
        }
    },
  
};

		var zNodes =<?php echo ($json); ?>;

	$(function(){
	Wind.use('zTree', function(){
		$.fn.zTree.init($("#treeDemo"), setting, zNodes);
		zTree = $.fn.zTree.getZTreeObj("treeDemo");
		$("#ztree_expandAll").click(function(){
			if($(this).data("open")){
				zTree.expandAll(false);
				$(this).data("open",false);
			}else{
				zTree.expandAll(true);
				$(this).data("open",true);
			}
		});
	
	});
});
		
		
</script>


    <!-- 框架脚本 -->

    <link rel="stylesheet" href="/Statics/Admin/js/sco/css/sco.message.css" />
    <!--[if lte IE 8]>
    <link rel="stylesheet" href="/Statics/Admin/css/ace-ie.min.css" />
    <![endif]-->



    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

    <!--[if lt IE 9]>
    <script src="/Statics/Admin/js/html5shiv.js"></script>
    <script src="/Statics/Admin/js/respond.min.js"></script>
    <![endif]-->


</head>
<body>
<!--<body class="navbar-fixed breadcrumbs-fixed">--> 

<!--<div class="navbar navbar-default navbar-fixed-top" id="navbar">-->

<div class="main-container" id="main-container">

    <div class="tabbable p20">
           
            
  

            
   <ul class="ztree" style="padding:0px;">
    <li> <a title="全部展开、折叠 "><span class="button ico_open2"></span><span id="ztree_expandAll" data-open="false">全部展开、折叠 </span></a> </li>
  </ul>
	<ul id="treeDemo" class="ztree"></ul>


            </div>
   
  </div>
  <!-- /.main-container-inner --> 
  



<!-- inline scripts related to this page -->


</body>
</html>